import { IFeidaoAiBrowserComponent } from '@dfeidao/atom-web/interfaces';

import set from '@dfeidao/atom-web/local/set';

export default async function a007(fd: IFeidaoAiBrowserComponent, args: { id: string, name: string }) {
	const a = args;
	set(fd, 'role_no', a.id);
	const n = a.name;
	// if (a != null) {
	if (a) {
		fd.data.node.querySelector<HTMLInputElement>('#name2').value = n;
	}
}
